package PackagesTests;

import Utils.TypeConvertionUtils;
import ArithUtils.Array;
import ArithmeticObjects.VerfGroup;
import CryptoPrim.HashFunction;
import CryptoPrim.PRG;

public class ShirTest {
	public static void main(String [ ] args){
		int N = 100;
		int nr = 100;
		PRG prg = new PRG(new HashFunction("SHA-256"));
		byte[] seed = TypeConvertionUtils.hexStringToByteArr("a4db1b772394c6d819a69b6e6d2f992d9e74b74492fcdd1643ca887837e09a78");
		prg.setSeed(seed);
		VerfGroup Gq = new VerfGroup("P-256");
		Array<VerfGroup.VElement> h = Gq.randomArray(N, prg, nr);
		System.out.println("Done");
	}
}
